Function '{0}' has invalid script definition. The body of the script must be a function. Example: function() { }. Found '{1}' ...