moved javascript back to top slot on app file