updated for node versions > 4
added .gitignore file