A classifier for names using brain.js