add dynamic command & undertook validation(jquery.validate.js)