Fixing up style errors and line endings in JMediawiki