added some comments on application.js