Set root path and fix application.js