Adding button functionality.

Adding buttons 'reset all' and 'delete all' in addition to 'reset' and
'delete'. Also adding javascript events to each of these buttons so they
actually work.