Fix use of Array#idnexOf in demo