Improve plugin.xml
Test for window.jQuery, not just jQuery

Testing for a global variable throws an exception. Testing window
returns undefined.