Change .gitignore to ignore /node_modules folder
Renamed function and fixed callback call
Added async dependency
Improved validation and removed console.logs
Added test.js file