adding newline to the travis.yml
making boolean check === instead of ==
removing unused $index parameter, checking booleans with === instead of ==