Preventing loadPage from firing on https and named anchor (#) links