Added some javascript functionality for practice, but commented out for real, and added delete on index page