Test fixes

- Fix jshint errors
- Don't run browser based tests on travis

Fixes https://github.com/mysociety/popit/issues/439