small fixes JSHint