implementing a way to extend the functionality of the jquery mask plugin.