Fixed the bug to get the rating to reload on navigation, made the js injection simpler with only one script