fixing inline IF statement for the onchange example in documentation
Merge pull request #25 from pastudan/gh-pages

fixing inline IF statement for the onchange example in documentation