JS: Test password strength