Fixed a warning from JSHint