Careful, if you lose the connection to the websocket you'll click inadvertently! Also, there's a global variable called "r.thebutton" which has info about the timer already - no need to parse out html elements :)
Edited to take this into account. Now it will only click within an interval, from 15 to 20 seconds. In this way, if it was 0, undef, etc, it would not be clicked, thanks!