Fixed for RxJS 2.2
Merge pull request #1280 from zoetrope/rxjs2.2

Fixed for RxJS 2.2