Fixing js error in IE9 where no transition is supported

In IE8 / 9 where no transitions are supported transition.js returns false.
This line of code forgot to check whether transitions are supported.