Masterclasses html fixes

Essentially whitespace and accessibility tweaks following on @gidsg's #2739 

![ ](http://s1.developerslife.ru/public/images/gifs/74f0bb9b-452a-46e1-91bf-cfe18d6fb3c0.gif)