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

https://bugzilla.mozilla.org/show_bug.cgi?id=1005331
This looks really wrong to me, do we need self here?