revive-adserver/revive-adserver — pull request #415 by tarun29061990 (2014-09-22 14:32:03+00:00)
Title: Removed document.write and changed the OA_show function and handled the case for response containing script tags

Changes:-
In spc.php, the JavaScript object that was exposed to the browser was an Array type, It must be an Object type and the Object should be in the window scope. I have taken care of these things with the changes.

In spcjs.php, Removed unnecessary '&' and replaced with '&' as it won't make a difference and Instead of directly dumping the response with document.write, I am creating a script tag and inserting it into the head like