Moved JS around