Fix peculiar issue with jasmine 2.0, where the functional argument might not be supported
Merge pull request #37 from cburgmer/jasmine2Fix

Jasmine2 fix