Added test that fails in Chrome
Fixed lint errors
Set scores to 0 if undefined, to prevent array sort issues in Chrome.