addition of password checker JS file