Small logging changes
JSHINT
JS BEAUTIFY
fixing test
Merge pull request #1246 from cohitre/applyLogging

Small logging changes