HTML5 canvas skeleton framework in progress