Fix bug with counting rating
Precompile assets for production