結果 : how to dynamically create an object in javascript