remove the script for message box when deleting, added onlick event for deleting a data in database, added end tag for center