Fix JSHint errors, Refactor determining of partial for sport from model into controller.