better common.js