Remove use of deprecated functionality
jslint fixes
Update jquery-ui to 1.10.2