fixed video wrapping js