Fixed the score generation
Add revered example to the demo html.