gateone.js:  Changed the way the logging functions are initialized as they were giving me some trouble with that shorthand syntax.