compiler: js: skeleton JavaScript generator