Update libraries
Added CommonJS support and universal test environment