clean up close parens and trim whitespace around text; basic bookmarklet