New version of common.js