Fixing javascripts.