Fixes for the IE and libs update

Jquery UI updated to the latest version - with old version of the jquery ui image dragging in ie 8,9,10 has been very laggy.

Updated jquery to the latest version.

Fixes for IE (8,9,10)

Code re-formated with NetBeans