var Module = {
	TOTAL_MEMORY: %UNITY_WEBGL_TOTAL_MEMORY%,
	errorhandler: null,			// arguments: err, url, line. This function must return 'true' if the error is handled, otherwise 'false'
	compatibilitycheck: null,
	dataUrl: "%UNITY_WEBGL_DATA_FOLDER%/%UNITY_WEBGL_FILE_NAME%.data",
	codeUrl: "%UNITY_WEBGL_DATA_FOLDER%/%UNITY_WEBGL_FILE_NAME%.js",
	memUrl: "%UNITY_WEBGL_DATA_FOLDER%/%UNITY_WEBGL_FILE_NAME%.mem",
};
@@ -1,8 +1,1266 @@
+//Old config glue%0A// var Module = %7B%0A// %09TOTAL_MEMORY: %25UNITY_WEBGL_TOTAL_MEMORY%25,%0A// %09errorhandler: null,%09%09%09// arguments: err, url, line. This function must return 'true' if the error is handled, otherwise 'false'%0A// %09compatibilitycheck: null,%0A// %09dataUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_FILE_NAME%25.data%22,%0A// %09codeUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_FILE_NAME%25.js%22,%0A// %09memUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_FILE_NAME%25.mem%22,%0A// %7D;%0A%0A//New Glue%0A// var Module = %7B%0A// %09TOTAL_MEMORY: %25UNITY_WEBGL_TOTAL_MEMORY%25,%0A// %09errorhandler: null,%09%09%09// arguments: err, url, line. This function must return 'true' if the error is handled, otherwise 'false'%0A// %09compatibilitycheck: null,%0A// %09backgroundColor: %22%25UNITY_WEBGL_BACKGROUND_COLOR%25%22,%0A// %09splashStyle: %22%25UNITY_WEBGL_SPLASH_STYLE%25%22,%0A// %09dataUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_FILE_NAME%25.data%22,%0A// %09codeUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_MAIN_MODULE_FILE_NAME%25.js%22,%0A// %09asmUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_MAIN_MODULE_FILE_NAME%25.asm.js%22,%0A// %09memUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_MAIN_MODULE_FILE_NAME%25.mem%22,%25UNITY_WEBGL_WASM_BINARY_FILE%25%25UNITY_WEBGL_DEBUG_SYMBOLS_URL%25%25UNITY_WEBGL_DINAMIC_LIBRARIES%25%25UNITY_WEBGL_BACKGROUND_IMAGE%25%0A// %7D;%0A%0A//What works%0A
 var Modu
@@ -1599,16 +1599,85 @@
 E%25.js%22,%0A
+%09asmUrl: %22%25UNITY_WEBGL_DATA_FOLDER%25/%25UNITY_WEBGL_FILE_NAME%25.asm.js%22,%0A
 %09memUrl:
@@ -1736,8 +1736,8 @@
 mem%22
-,
 %0A%7D;
+%0A

fix module config (GLUE) (TODO: investigate why template variables are not changing)