JSHint: remove defined but never used