My custom implementation of the backpropagation algorithm used in artificial neural networks written in javascript