JS refactor

Reorganized code for better readability. 

Also: Added some Mock Leap methods (from the leap.js test suite) to allow keyboard input to simulate a leap.

Now you can play RPS with your keyboard as well! Just type rrr to throw rock, or ppp to throw paper, or sss to throw scissors. 

That was fun.