added check for existing jQuery