Fix a problem with umlauts in mini.js

fix problem with german umlauts like "ö" in the jid