update validator plugin and js_files helper