Made silog a module and made it browser-compatible