Sources:
ConvNetJS is a Javascript library for training Deep Learning models (guide)
Notes for the Stanford CS class CS231n: Convolutional Neural Networks for Visual Recognition.
ConvNetJS getting started: http://cs.stanford.edu/people/karpathy/convnetjs/started.html