Tidy tester.html

Remove console logs and superfluous code
Create 'Region' Public Variable

Clicking on a rectangle now updates a new public variable: region. This
allows region bounds and index position to be more easily accessible.