Javascript code appearing in CMS menu bar

Please see attached screen shot.
Seemingly at random bits of javascript code are appearing visible in the CMS just under the main menu bar. I've tried inspecting the page in safari to see where these might be coming from but can't work it out... any ideas any one??