Convert coffee to js
Add content length to headers