Fix #22 for real

Also add pylint. jslint is a bit harder to use, it doesn't like mozilla-specific things like let, and no easy way to configure that as far as i can tell.