A javascript function and objects library useful if you want to work with HTML5 Canvas