Added basic javascript functionality

The keyboard can now type something in a very dumb, linear manner. All taken from the Net.Tutsplus article. Now that we have a functioning prototype in place, we can begin to refine it.