jquery.maskedinput with modifications by Ycaro