some javascript/canvas experimentation