Various minor JSHint fixes