Fixed JSHint recommendations