Add runtime and compile time flags for enabling Web Animations API and model.