declarative vis in js/coffeescript