Construct password from given charset, instead of base64.
Major refactoring of the js, implement domain settings (except for required
characters).