fixed js clear