Deleted MediaReference
Merge pull request #219 from alancutter/master

Use "use strict" in all JS scripts
Generate an actual HierarchyRequestError

Can't construct directly but can cause one to be thrown.
Merge pull request #220 from dstockwell/hierarchy-error

Generate actual HierarchyRequestError
Merged media reference removal into master
Merging local master with upstream