Change way to obtain site url
Change way to obtain site url

Using location.href will return the sites url plus the anchor fragment. Creating tabs with vis-ui and an empty anchor will result in urls like http://example.com##tab1. Trying to init jQueryUI tabs with such an href will throw an error and the tab init fails completly. location.origin + location.pathname gives you the plain url with out any fragments or parameter.

eSlider/vis-ui.js,eSlider/vis-ui.js