great! this solves the modal clearing question :) you can put the comments abov the funcitons like this 

/**
* this version prints new data as well as previously shown latex'd data (best for datalists)
* 
* @params showInExportModal a boolean to paste it in the export modal or not
*/
latexitDataList : function(showInExportModal){