System Verilog Else If Syntax Javascript