update vote with js
precompile assets