added coffee script 

Added a coffee script version for easier use with Rails.