Web-UI: Codebase updated to work in latest dart editor and SDK. (r21094)