Properly check jquery