java script type