Download and save the require javascript to a local file.

    :type target: str
    :type version: str

def save_requirejs(target="", version="2.3.4"):
    """Download and save the require javascript to a local file.

    :type target: str
    :type version: str
    """
    url = "https://cdnjs.cloudflare.com/ajax/libs/require.js/{version}/require.min.js".format(version=version)
    filename = "require.min.v{0}.js".format(version)
    filepath = os.path.join(target, filename)
    download_to_file(url, filepath)
    return filename