been-there function with jquery and jasmine specs