Split send.js into compile.js and send.js
Typo fix