Modified gem to include Rails 3 support and include moment.js dependency