Added password hashes calculation, made some minor improvements to remove some browser warnings