[htmlmixed mode] support for x-javascript and x-ecmascript script types