JavaScript tune up, logic improvements

- [x] Clean up parsing of querystring
- [x] Use regex to acquire `teacher` field
- [x] Clean up documentation and `console.log`s
- [x] Add conditionals around *teacher* slide rendering