Fix timing functions.
Remove coffee-script dependency.