corrected typo in common.js