Added gitignore
.gitignore is now working
Refined User agent method & added to example app.js