added before, after, and browser support