starting client-side implementation of caffeine tracking