added jshint
now using an options object instead of a ton of parameters. woooo
adding more tests
implement PR #11
implement PR #9
add support for PR #10
implement PR #12