Replacing oninput with x-mask