Use asset path in main.js.erb