def METHOD_NAME(sender, **kwargs):
    """Add qplotly js scripts"""
    try:
        if sender.resolver_match.view_name == 'qdjango-project-layers-list':
            return 'qplotly/js/widget.js'
    except Exception as e:
        logger.error(str(e))