Clean up/refactor main.js file
Add the ability to delete a goal from the log