#30 - finished documenting and removing obvious dead code from m.media.js