tiny lib for drawing shapes with DOM elements