Merge pull request #51 from snordt/master

utils.js change and committing changes for James
initial commit of query center