playing with javascript on vids