Write less Javascript. Chart more.