move js around, hopefully its a bit faster