emulateTransitionEnd now determines transition time
changed way I was removing the 's' from times

instead of parseFloat is easier to just remove the 's' by .slice(0, -1)
updated all emulateTransitionEnd calls