Fix function call
Update jQuery version