fixes #7: set type before calling super
Version 1.0.2
added .travis.yml
Merge pull request #8 from shapesecurity/travisci-support

added .travis.yml
ES6 WIP