When using commonjs you don't have access to the JL object

Access to the JL object is an easy fix. So I added the JL object as an argument. Now I can configure my logger from .Net and use commonJs