Update animator.js

Added support for transition-delay property.
fix(animator): make animator take combinations of delay and duration into account