Minor fix, check if jsType exists