adding event listener function
Merge branch 'master' of https://github.com/ajkim/d3_hackathon into development