The assumption that JS is more secure than C.
I would say, yes it is more secure.
As for OpenSSL, better ask advice to Apple developers. They know all about how C helps security experts keep their jobs.
This means that a lot more eyeball-power went into inspecting those for security issues than into inspecting a messenger - simple reason: a bug in V8/xMonkey would fetch far, far bigger reps and money than finding a bug in Pidgin.
Always remember: given enough eyeballs all bugs are shallow.