Implementation electrum-server on JavaScript