added common.js before modifing