Distinguish between new person and edit person in analytics
Fix JSHint warnings