In several charts, move JS code to bottom of output, after legend
Include @import qtl RJSONIO