Fixed contextpath javascript defect in libraryHierarchy