common.js is needed for Firefox version to work