JavaScript implementation of Japanese morphological analyzer