Remove fixed-width image CSS which breaks scaling when images are too tiny.
Deduplicate expression
Fixed console.log bug, improved diagnostic messages, and improved IE compatibility.