A simple grammar of graphics for JavaScript