impliments Javascript goalie score calcurate.