Typescript Empty Array Length Jquery Css