Update loggy.js

Changed log to init