jQuery forwards and backwards compatibility