Replaced Array.contains() call with Array.indexOf()
Merge pull request #13 from zigrin/patch-1

Replaced Array.contains() call with Array.indexOf()