#427350 by noomz: javascript jTemplate function load wrong url when drupal path is not at top root url