relocate javascript