attempt to compile to js