rewrite content_script.js