Updated to a more recent version of jQuery and jQuery UI

The current code causes errors if the slider is dragged due to a mismatch between the version of JQuery and JQuery UI.
I also added code to allow terminals to be placed onto a page without the need for an iframe.