Added missing `use strict` statements and removed unused npm modules