add commonJS export in browser environment export