Pedantic code style updates as suggested by IntelliJ [InspectionJS]