JS objects edited