quick fix for javascript errors appearing, e.g., with videos.
paul