adapted script.js to a firefox content script, as the addon review process does not allow remote linking of scripts