allow setting log levels for js sdk
Merge pull request #45 from feedhenry/logging-enhancement

allow setting log levels for js sdk