Random-Score Javascript game sample