Going to use coffeescript
Translated to coffeescript
Updated Jcrop due to error