A configurable perceptron written in Javascript, supports both single and multilayer perceptron training under the perceptron rule or error backpropagation