name chart types 'recent' and 'longtime'
fix js errors in chart when user is logged out