Update logginghelper.js

It would be better if it's written .dot notation.