added comparison charts js code