fixes basename reference to "javascript" page in navigation