CoffeeScript Conversion

I converted the JS files into CS.
I also cleaned up a bunch of the js that was there to be a little better