Solved issue #31

Solved https://github.com/privly/privly-applications/issues/31
This doesn't work. For Help and Index (History), privlyParameters.getApplicationUrl(window.location.href)
gets me this: Login/Help/new.html