HTML5 Canvas Neurons