added console.log to application.js