Tested fixing javascripts