fix syntax warning in ljs