Add JS: parsing word and rewrite kernel primitives