code: function validateScript(script) {
    var valid = this._validate(script);
    validateScript.errors = this._validate.errors;
    return valid;
  }
docs: validates script
  @this   JSONScript
  @param  {Any} script script can be any allowed value
  @return {Boolean} validation result