add JS objects to application.js