Install uglifier and add nodejs to dependencies. Run assets:precompile on app install