Move left & right with the arrow keys. Jump with up arrow. Pay close attention to scrollX, gravity, and velocity variables as Mario runs and jumps.
Big thanks to 123animations for his tutorial on Sprites & Basic Movement: http://www.youtube.com/watch?v=POyPXqH3XZk