modifying appilcation.js