clear refresh timers when drawing new chart
add csv download link to table menu
use $ prefix for jquery selector variable