Consistent empty bracket style.
Update tested versions of Opera and PhantomJS. [ci skip]
Use `resIndex` where applied easily.
Add parentheses to clarify things.