Changed location of javascript