refactored to use local version of jquery ui

resolves https issues