added stopTime function to Ticker.js