Separated the rating plugin initialization script to make it apply for dynamically loaded content