Fixed video tag creation

Replaced the existing creating creation code with JQuery awesomeness.