moving chartbeat init to top, so it can take into account the script loading that follows in its response time calculations