Move some JS around.