moving JS around