Fix browser support for safari and firefox

Background
----------
Firefox and Safari were broken for transform/transition support

Changes
----------
- Fix transition declaration (Safari)
- Fix transitionEnd support (Firefox)