Base: Fix JSHint errors