A simple phone number verification written by JavaScript.