JavaScript-to-JavaScript compiler