Remove redundant conditions.
Merge pull request #700 from blakeembrey/valid-js-variable

Remove redundant conditions