Fixed footnote TODOs, added references, and fixed some text
Added variable to template to control whether to load highlight.js or not
Added object memory layout image drwan with Raphael