Update common.js

no more requiremock