fix no type in postMessage can pass renderjs