Javascript: Sharepoint Column Mapping Config and self executable function