def read_glance_dom():
    """
    Reads in the GlanceDOM javascript.

    :return: string representation of GlanceDOM javascript
    """
    import os
    import pkgutil
    resource = os.path.join('scr', 'glance-dom.js')
    return pkgutil.get_data(__package__, resource).decode('utf8')
