I think you need to build your web app using the twitter bootstrap. In that you can implement your masked input plugin. I hope that would works for you. It something they are responsive for the user to use it.
Let me know if it is done, so that I could able to learn something interesting topics.