Replace indexOf() by contains()
Merge pull request #31 from naoliv/pull15

Replace indexOf() by contains()