make the javascript work again