fix location of javascript