[js] compiler: support additional simple atoms