adding support for devise, jquery-validation-rales