A simple input validation JavaScript library