fixing test site

also a few small things my jslinter picked up