Change to JSHint

Some cleanup to clear warnings