Create valid.js

plugin file