I use the following code snippet to load data from google fusion table as json.
var fileref = document.createElement(\"script\"); fileref.setAttribute(\"type
I'd just take out the fileref.setAttribute("type", "text/javascript");, since the likelyhood the mime-type will be updated by the server is unpredictable.
fileref.setAttribute("type", "text/javascript");