Update component.js

Moved my fix to src/js/media/html5.js