Bug 1005331 - JSHint fixes for shared/js/media/.