Error loading JSON: Line 86 touchui.js

When using the touch-designer, exporting the code and running it produces the following error when using JSON (for example a list control that loads demo data from the data folder):

Error: syntax error
Source File: http://festevent-mobile.local/codebase/touchui.js
Line: 86, Column: 9
Source Code:
dhx.temp=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> 

I did not use any custom code, just export and use in any browser.

are you exporting full application (menu->download) or just configuration json?
and can you attach exported code please?