fix Uncaught exception in 2 calls to webkitTransform