(function(w) { /** * load jquery and jquery-ui if needed */ function not(thing) { return typeof thing === 'undefined'; } function loadJS(src) { document.write('