Fix jshint warnings in VipsScaler
completed by: ☃ unicodesnowman
mentors: Gergő Tisza
This is T63643 in Wikimedia's issue tracker.
Students are required to read Wikimedia's general instructions first.