Defined selectors as global variables, initalization of animations and logic in hangmanView.js