Fixes bug 1005331 jshint fixes for shared/js/media r=djf