Handwritten digit recognition in JavaScript using Convolutional Neural Networks