changed url for js tree links to be relative to base url