Yup. Good catch! Improperly (actually missing) brackets.
Try it again please. New code in github.
https://goo.gl/V2cTLf