Test if jQuery is loaded
<script> if (jQuery) { alert("jquery is loaded"); } else { alert("Not loaded"); } </script>