Javascript Condition If Array Is Empty Java