modifying js for drupal