fix jQuery is loaded detection in /examples/index.php