drop nullables in jsAttr