Update dom_RenderEngine.o.js

making the data type more robust. now if a data type is not passed it will check the file extension to see if it can find out what data type it is.