A Javascript work-around for hardware accelerated CSS3 transitions with custom easing functions