'Return a dictionary containing some of the following keys:
coffee: A list of coffeescript fragments that should be compiled and
placed on the page
js: A list of javascript fragments that should be included on the
page
All of these will be loaded onto the page in the CMS'

@classmethod
def get_javascript(cls):

    coffee = cls.js.setdefault('coffee', [])
    js = cls.js.setdefault('js', [])
    cls.js.setdefault('xmodule_js', resource_string(__name__, 'js/src/xmodule.js'))
    return cls.js
