updated app js to new routes