Add 'npm install' command and retrieve sources from correct directory.

Add `npm install` command so that node module dependencies are installed before they are used (`uglify-js` in this case).

Also use a variable to store the correct directory for the sources and node_modules. This is valuable if this script (generate-combined.sh) is being called from a different directory e.g. `./some/other/path/generate-combined.sh`