Checking in jQuery dependency