Boston Matrix on a HTML5 Canvas