A Javascript Class library for building games on the canvas