Update Chartbeat script to latest version

The implementation-details for Chartbeat has changed since this module was implemented.
Chartbeat will be dropping support for the current implementation shortly.

https://chartbeat.com/docs/adding_the_code/