refined the bookmarklet to display both errors and successes