fix js edit docs