Added function deletePatrollerRecords in Javascript and Php