It doesn't feel like this belongs in baseview. But I don't know if xblock.js is really any better. So I'm OK with it here, but just wanted to voice my queasiness.