implemented "completed" on UI and in jasmine-unit