Updating the person js file with the functions