Added movement based on user input to js file.