feature spec of js voting