W3speedster Customize Script Object

Function: W3SpeedsterCustomizeScriptObject
Description: W3Speedster allows you to customize script objects while minifying and combining scripts.
Parameter: $script_obj- Script in object format.
$script- Content of the JS file you want to make changes in
Return: $script_obj– Make changes in Js files.

function W3SpeedsterCustomizeScriptObject($script_obj, $script){
// your code
return $script_obj;
}