First crack at updating JSHint rules
Fix JSHint violations in examples