merged js in common.js