removed unnecessary lines from applicaiton.js