Cross-browser compat.

Ironically, by getting rid of js.Dynamic.