Fixing some jsHint stuff and once again fixing analytics