bank account validation in javascript