Added checks if node/uglifyjs is properly installed

I ran into an issue when apt-get calls the bin nodejs instead of node
symlinking resolves that issue. Uglifyjs also breaks if it's called nodejs