fixing chartbeat to only load after the page is there

should fix #107 and matches the chartbeat loader's behavior.