Create hsuser.js

this code was copied from https://raw.githubusercontent.com/phormanns/hostsharing-play/master/library/