I think you are missing a "new" before your declaration of ol
Try this:
- var ol = new can.Observe.List(['foo', 'bar', 'foobar']);