Object "length" in JS -- From http://stackoverflow.com/questions/5223/length-of-javascript-object-ie-associative-array