fix js - video events