new if else syntax javascript