Convert coffee to js

- merge in coffee to js conversion upstream 
- convert lib files to js