Ruby on Rails 3.1 is moving to use Sprockets to compile CoffeeScript into JavaScript and include JQuery in it's JavaScript by default. This is a quick demo of how it all hangs together to manage your JavaScript