getting ready for compiling to js