Modified bindings for polygons to allow for reactive plotting.

Hi Joe,

As discussed in an e-mail a month or so ago. Just a simple amendment to get polygons to plot reactively. I am using trial-and-error a bit as I'm unfamiliar with Javascript, but this seems to work.

Cheers,

TJ