Cleaned up pwcheck.js
Merge pull request #1617 from HerrKauwer/pwcheck

Cleaned up pwcheck.js