Add some missing semicolons.
Use nodejs instead of ruby.
So you wanted a big ass console in your browser, huh?