fix problem wit jQuery plug-in for jasmine