JavaScript: Because that's what we know.
Having libraries implemented purely in the language from which the library is implemented solves many many headaches, irregardless of JavaScript or not.
Err, meant to say:
Having libraries implemented purely in the language from which they are used ...