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

https://bugzilla.mozilla.org/show_bug.cgi?id=1005331
I asked myself this question too. I tried removing it and it broke some Gu tests. So I left it there.