made default values for duration and delay overridable.
fixed head comments.
renamed to transition.js.