parse the url better to support omitted protocol
properly submit the AJAX
display the results in the html
JSHINT