adding check_person_exists.js file
corrected worrnings of phpstorm