Use ES6 and better object access practices.
<rdar://problem/15842444>
Created attachment 221435 [details] Patch
Comment on attachment 221435 [details] Patch r=me
https://trac.webkit.org/changeset/162418