Updated to a more recent version of jQuery UI and added changed the code to no longer need an iframe to work