Clarify how we monkey-patch HTML.
Specify when to invoke 'update the image data'. Fixes #91
Fix indentation
Wrap test for easier reviewing
Fix conflicts.
Build cleanly.