More work on thq.datafile.js