Easy fix.
Find this code on or near line 82 of file tpl-profile.php

var strength = passwordStrength(pass, user);

Replace it with this code that has the fix:

var strength =...