LibCanvas javascript library prepared for using with Rails 3.1+