Base: Fix small JSHint errors