Some little tweaks to the indexOf example.