Update content_script.js

Done with upgrades and fixes