I have build trading algorithms in javascript (fetching information using AJAX queries/PHP scripts) and which inserts/cancels orders based on the available information in client side/web browser Javascript (using Chrome).

I would like to move this server-side, possibly NodeJS, so that I can rent a server close to the exchange (all connections are over the internet using an API), which speeds up the execution of the algorithms and so that I can turn off my computer at home.

Is this going to be easy? What steps do I need to take in order to move the client side/web browser javascript to server side NodeJS?