Add missing brace in docs/optimization.html

Just a little typo in the example in `docs/optimization.html`. I added the missing close brace.