A variable called "jQuery" in your code has never been declared, so it will throw an error, for example, "xxx (variable name) is not defined".
You can use the typeof operator to check if a variable is undefined or not
if (typeof(jQuery) == "undefined")
source share