added jqchart graph and tweaked variables