Realtime javascript-based password strength checker