feat(common): create common.js file