little js edit