fixing javascripts;