change name in obj in js