sync with bacon.js 0.5.1
updated externs