Split test for native DOM methods and jQuery