js resize video on load for chrome bug