Do js validation and fix grunt for it