Fixed DB file
Clarify JS imports in template
Fixed jQuery to show current average ratingsi after vote

Also changed width to accomodate average without linebreak in all cases.