Using the same script as Travis-CI to install assets deps
Added NODE_ENV for conditional package installation