Make keyboard controls work in Safari.