partial fix for #1263 (posts)
fixes #1263 for comments
add tests for #1263
merge branch changeable-votes
js style