Fix reading zIndex under chrome

For me on chrome 26 the object returned by getComputedStyle() has
properties with names as in css ('z-index') not like the javascript
style properties ('zIndex') so we need to convert to look up the
z-index correctly.