updated app's js file