Minor formatting issues fixed

fixed in general.js and readXML.js