it's now working cross-browser