updated jQuery version check