Fixed Counter not being defined correctly for RequireJS