fixed _plot.js