fixed typo in common.js