moved creation of video element to index.jade