Fixed a lot of mistakes with attendance data in the js file
Merge branch 'issuefix'