Add JS-triggering timer for server polling