coroutine.js: use 'yield undefined' instead of 'yield'