move javascript
add resetVote
add dump