jquery inputmask breaking change

jquery inputmask breaking change

We using jquery inputmask plugin and have a following code fragment:

  1. $('input.maskedInput').focus(function () {

                $(this).mask("999-999-9999");
            }).blur(function () {

                var numbers = $(this).val().replace(/-/g, '').replace(/_/g, '');
                $(this).val(numbers.toString()).unmask();
            });






This worked perfectly fine with jquery 1.3.2 but stopped working when upgraded to 1.8.2. No errors but unmasking just does not occur.
Is there anything that need to be changed to make it work again?