use jquery and jasmine