javascript mask input without plugin