move js out of template and into main javascript file
convert questiong pages to use the same _base.html pattern as homepage, was confusing and not DRY