small fixes and adjustments; also give an example for rcharts.io viewer