Fixed JSHint config, some tidying up