Add support for polling, with a little bit of toy javascript to display changes