fixed minor bugs in js
changed password data for fast decryption