added a jquery key press feature to lines 31-32