Fixed application.js and set compile assets = true