added a validator for a base64 encoded dataURI