Lightweight message logger/debugger for Javascript