Added static.js to application.js
changed assets precompilation settings in application.rb