Extract methods to parse properties of JSObject

This commit contains code changes to extract methods to parse properties of JSObject.