updated the app.js code

Updated the app.’s code to have an event listener for the event of
keydown == 88 (identifying the x key) and then switching the state of
Ryu to show him in the cool position