do not use winston
try to make it browser proof