Update js/main.js

using github.com to move delete and clear function from comments wanting to test need to add buttons into html