Artificial neural network, learned by error backpropagation algorithm, written in Javacript with asynchronous computation