Adding commonJS wrapper