JavascriptRenderer: format validator