Moved view DOM interaction to prototype method, and created keyup listener