Added form to add a goal on index.html and fixed a few things with NewGoalHandler.