trying to move over to js so the non-compiling world can enjoy it