Fix js-moonwarriors compilation