fix for javascript error when left menu navigation header has a slash in it's path