Fix minor typos

Note that I don't know the first thing about web in Java. I've only made small textual changes, so I hope that's fine.