3858 Move the JavaScript