pass category to format_series in scatter.js
fix scatter point names