moved reset btn event listener to ready