adjust html code to adapt HTML5; include jQuery and jQuery UI