Simple Timer class for RequireJS Projects