Fix typos in error message outputs and footer at bottom of page
Stylize jsonapi.php to MW format