tidying source-COM.js and source.js, first tidy for source-COM