http://stackoverflow.com/questions/7346827/javascript-find-array-index-with-value
Anonymous
Clarity is better than cleverness.