How to resolve this?

How to resolve this?

I want to get Javascript array at button click.
In final result I want to get same key with amount(same key with adding multiple amounts).

How to add sum of amount with Same Key(dates) in each function?
Please help for my code.

Current My array result in alert:

{dates:"01-2014", amount:"100"};
{dates:"01-2015", amount:"500"};
{dates:"02-2014", amount:"700"};
{dates:"01-2014", amount:"800"};
{dates:"02-2014", amount:"900"};
{dates:"03-2014", amount:"60"};
{dates:"07-2014", amount:"10"};

Expected array result in alert:

{dates:"01-2014", amount:"900"};
{dates:"01-2015", amount:"500"};
{dates:"02-2014", amount:"1600"};
{dates:"03-2014", amount:"60"};
{dates:"07-2014", amount:"10"};

My jsfiddle: