(maint) Change alert to document.write

Prior to this commit, the curl statement that was build would show up as
a js alert. This commit changes it so that it does a document.write
instead. Also this commit changes the webpage from brian.html to
query.html