Initial pass at JS compiling