VID-1964 Don't use deprecated jQuery methods