Javascript iteration hygiene

`for (var i in <array>)` can have unintended results if another library
monkey patches `Array.prototype`
Merge pull request #305 from urbanairship/sortable-tables

Javascript iteration hygiene