Changed syntax of if statement to be DRYer.
Merge pull request #47 from nonumber/jux

Changed syntax of if statement to be DRYer.