Fix more styling for vids
Extract out some JS-y stuff