adds javascript so that game is dynamically being played by users
adds reset, focus and conditional statement for numbers over 100