adding mpaa line chart javascript