Monkey patching is evil.  Do not use the native array prototype functions in the SafariDriver
page script - the page may have overridden the functions (e.g. using prototypejs), producing
unexpected behavior.

Fixes issue 5517.