convered working coffeescript package to js