require(["api", "canvasdrawer", "settings"], function(api, canvasDrawer, settings) {
	var form = document.getElementById("api-form");

	function makeRequest() {
		var messageElem = document.getElementById('message');
		messageElem.innerText = "Loading...";
		api.load(function() {

			canvasDrawer.draw(api.characters);

		});
		return false;
	}

	form.onsubmit = makeRequest;
	
	if (settings.api_key) {
		makeRequest();
	}
	
});

@@ -233,12 +233,12 @@
 nner
-Text
+HTML
  = %22

Fix loading... not showing in firefox