Javascript fix for basketball, quarterback stats