Revert "Updates"

This reverts commit 5b79aa67a301eec08f9bbba791ad3caf7c767d07.
Revert "Revert "Updates""

This reverts commit 9f7fe32fecb74a9dca066031d51160e2508d36dd.
Merge branch 'master' of https://github.com/jgsmitty/Moodle-Force-Completion
bug fix

Fixed issue with AJAX errors and state toggle values.