Preparing js files for Node server