xmlHttp.open('POST', '/submit', false)
xmlHttp.setRequestHeader('Content-type', 'application/json')
xmlHttp.send(JSON.stringify(dat))
return xmlHttp.responseText
Google App Engine, serving files with Jquery and Python, 2 identical files are returned instead of 1