You make see the rating not being set if a poll is on the same page. This is because immediately after the page loads both the poll and the rating call 'http_request' (Javascript object), the letter call overwrites the initial one.