Made clickbeetle reinitialization-safe for single-page apps.