mobile input js check