def javascript_with_content(script):
    """Generate element to insert js script

    It generates a `script` tag `<script type...><![CDATA[script]]></script>`

    :param script: script to be interted
    :type script: str

    :return: a list representing script tag with content
    :rtype: list
    """
    tag_list = ['script', {'type': 'text/javascript'}, 
        '<![CDATA[\n %s \n]]>' % script]
    return tag_list
