[misc] JS error when trying to edit a missing object