Code clean-up around timeout, readme typo fix, add tests
added node_modules to .gitignore