Cross-browser support for effects. Build most of the state support.