[issue #169] [WIP] shifts the control from the record vote view javascript file to the controller
[issue #169] [WIP] fixes the documentation of the record_vote controller method