Create js_oddEven

The first test determines whether Odd or Even number with if/else if.