prevent jQueryUI from fetching location.href

and causing the webpage to explode if it has a script tag
Merge pull request #173 from oerpub/fix-browser-crash

Fix browser crash