brainjs example for machine learning classification