jQuery vslidation Eliminar espacios de la entrada

Email: {
    required: {
        depends:function(){
            $(this).val($.trim($(this).val()));
            return true;
        }
    },
    email: true
}
Rht