Cleaning db via ajax