Workaround for Chrome which doesn't have Array.find