javascript credit card detection