Add comments/docs to application.js