Update app js file & add static index