rename some varibales
bugfix doctest dict compare
Bugfixes JS password changes.
Leave one bug: salt has different length