collect scripts from the page browsed. Passed from content script to background as a string. Should work on a switch case for scripts within the page