using object to call out names in js