Move around the javascript so we do not get a random error in the js