Switch to WebKit 4.0 API