updated vids markup and add relevant js to make it work