update the js file to work with the new drupal website