fixed template to support drupal cleanUrls when loading content via javascript and html.