fixed common.js issue on chrome browser