fixed common-js require statements