Javascript Create Object With Property Name Example Is Not Defined