get all the scripts from the page browsed and pass it from content script to background