Changed passwordchecker.js to use boolean variables.