There's no reason to set the id.   In the placeAt() call below, just pass in container instead of "container".