modify application.js to get  from controller js normally