Update index.js
Update index.js

I would like to suggest the following changes. I'd still prefer to use getLocation for FF/IE although if there's any benefit with the offset that you suggested, I'd like to hear it. Thanks!
koola/pix-diff