added in loadResults and createFooter in results.js