Fix client-side password validation.

Add the 'strongPassword' validator to correctly validate passwords
client side for registering and changing password.

Use $(document).ready() instead of window.addEventListener('load')
everywhere.
Update dependancy installation instructions.