refs #1186, cleans up wiselinks jQuery hook, atempts to fix start page reload

As mentioned in the related ticket, there had been some inconsistencies in the way we hook wiselinks into jQuery.
Locally, it's not possible to reproduce the start page reload bug of the staging server. => There might be need of a second PR to fix the related issue.