Clean up

I'm doing some clean up to all files that need it. This mostly consists of validating the HTML and keep all files consistent.

~~It is still work in progress. I hope to finish it tomorrow.~~ Finished.
Please put the spaces back in for inline anonymous functions for now. I know this might be tedious and will probably need another check *after* merge.