Bugfix in vote route and setup script

Fixed a bug with the path param in votes route. And added setup.js to manifest file, now it will be invoked whenever the app is mounted.