Reorder tasks to include optimized marker in `main.js`

An alternate approach would be to introduce a filename ordering system
like the one commonly used for fontconfig and sysvinit config files, but
the current system works for now and the new order yields a more correct
result, with the SVG having no title already during the development
phase.