Add Mixlr live audio to lecture pages

Also took the opportunity to do a bit of refactoring