Changes to make ajax loading through Drupal