fix puzzle training box when there is no chart
add clojurescript extern for sparkline
improve puzzle selector performance