Improved log function
Upgraded request-json package
Refactoring
Bumped NPM version
Added: postpublish script to avoid having the js in the local env