Fix Storyline's mobile JS that causes cross-frame errors on iPad.