updated app js