Making this work with newer validate.js for now