The objectdraw graphics library for Grace, implemented for the DOM