Remove type attribute in script.