js changes mostly recommended by jslint. Fixed bonus scores not showing after first play