Added AJAX, replaced HTML5 input with jQuery UI