fix bg
fix database error
favorite javascript display
votes javascript display
finish votes javascript
finalize updating voting and favoriting