module.exports = {
	get: function(v, defaultValue) {
		return (typeof v === "undefined") ? defaultValue : v;
	},
	createHTML: function(appName, parameters) {
		appName = appName || 'ofxWebUI';
		var html = 
'<!DOCTYPE html>\
<html>\
	<head>\
		<title>' + appName + '</title>\
		<link href="./index.css" rel="stylesheet" type="text/css">\
		<link href="./jquery-ui.css" rel="stylesheet" type="text/css">\
		<script type="text/javascript" src="./jquery.js"></script>\
		<script type="text/javascript" src="./jquery-ui.js"></script>\
		<script type="text/javascript" src="./socket.io/socket.io.js"></script>\
		<script type="text/javascript" src="./index.js"></script>\
		<script type="text/javascript" src="./parameters.js"></script>\
		<script type="text/javascript">\
			jQuery(function($) {\
				var socket = io(),\
					UI = initUI(socket);\
				UI.create(parameters, $("#main"));\
			});\
		</script>\
	</head>\
<body>\
	<h1>' + appName + '</h1>\
	<div id="main"></div>\
</body>\
</html>';
		return html;
	}
};
@@ -106,907 +106,8 @@
  v;%0A
-%09%7D,%0A%09createHTML: function(appName, parameters) %7B%0A%09%09appName = appName %7C%7C 'ofxWebUI';%0A%09%09var html = %0A'%3C!DOCTYPE html%3E%5C%0A%3Chtml%3E%5C%0A%09%3Chead%3E%5C%0A%09%09%3Ctitle%3E' + appName + '%3C/title%3E%5C%0A%09%09%3Clink href=%22./index.css%22 rel=%22stylesheet%22 type=%22text/css%22%3E%5C%0A%09%09%3Clink href=%22./jquery-ui.css%22 rel=%22stylesheet%22 type=%22text/css%22%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22 src=%22./jquery.js%22%3E%3C/script%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22 src=%22./jquery-ui.js%22%3E%3C/script%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22 src=%22./socket.io/socket.io.js%22%3E%3C/script%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22 src=%22./index.js%22%3E%3C/script%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22 src=%22./parameters.js%22%3E%3C/script%3E%5C%0A%09%09%3Cscript type=%22text/javascript%22%3E%5C%0A%09%09%09jQuery(function($) %7B%5C%0A%09%09%09%09var socket = io(),%5C%0A%09%09%09%09%09UI = initUI(socket);%5C%0A%09%09%09%09UI.create(parameters, $(%22#main%22));%5C%0A%09%09%09%7D);%5C%0A%09%09%3C/script%3E%5C%0A%09%3C/head%3E%5C%0A%3Cbody%3E%5C%0A%09%3Ch1%3E' + appName + '%3C/h1%3E%5C%0A%09%3Cdiv id=%22main%22%3E%3C/div%3E%5C%0A%3C/body%3E%5C%0A%3C/html%3E';%0A%09%09return html;%0A
 %09%7D%0A%7D

delete createHTML from utils.js