CIL to JavaScript translator