changed coffeescript from global dependency to local