actually, the whole function is not correctly indented and a `;` is missing after the value of config.

it should be:
```js
            function updatePlaceList(uri, onSuccessPlaceList) {
                var config = {
                        method: 'GET',
                        on: {
                            success: onSuccessPlaceList,
                            failure: function (id, response) {
                                container.removeClass('place-list-loading');
                                errorContainer.setHTML(ajaxErrorMsg);
                            }
                        }
                    };

                Y.io(uri, config);
            }
```