remove \n in jslog