Trying to make it cross-browser

not succeeding…

In other news: works nearly as envisioned in chrome