added sinon to bookmarklet