Fixing A NAME url bug

Using an A NAME tag to reference a link on the same page was causing
the sidebar menu options to collapse on refresh.  This change takes the
provided docUrl variable in the documentation.js javascript and strips
all characters after the "#" sign.