Revise some spell errors in ADS.js and archive processAttribute() function