TLC

This repo hasn't been updated in like 2 years, so I rewrote the tests using a modern test-runner, reformatted the code a little, and made `npm test`/travis work. Right now the badges point to my account, but if you're interested in pulling I'd be happy to fix that.