fix race condition on localStorage reset
add npm scripts for tests and travis integration
Merge pull request #3 from jakecraige/test_fix

Travis CI Integration