Could the "Accept" value be a property of the class (so that it would not be necessary to override the default implementation in xblock.js)?