clean up query routing
fix nav link, modify JS to on-load
Merge pull request #33 from ahardy55/master

clean up query routing