JS: Object literal analysis, part 1.
JS: gather object literal properties in declarations.