def createElement(args, traverser, wrapper):

    if not args:
        return

    first_as_str = utils.get_as_str(args[0].get_literal_value(traverser))
    if first_as_str.lower() == u"script":
        _create_script_tag(traverser)
    elif not isinstance(args[0], jstypes.JSLiteral):
        _create_variable_element(traverser)
Handles createElement calls
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/instanceactions.py/createElement