moved pause/play addEventListener()s to file

Were in the .html file