Takes a string and processes the JavaScript contained within.
Loop through a html string and processes the script tags, with a single function
evaluateScriptTags("<div></div><script>alert("working");</script>");
I know people say its not good practice to use eval() but sometimes you may have to.