fixing regression on Jasmine run should fix issue #17
rev version