function jQueryExists() {
  return ((typeof jQuery != 'undefined' && typeof $ != 'undefined')) ? true : false;
}

