js modified 4