highlight active experiment, and fix calling refresh() too often

This might well account for the performance problems you were seeing, Simon. We were accidentally calling refresh an increasing numbers of times because the timer wasn't being cancelled. Also formatted the javascript in the same commit, sorry about that.