update framework for native-js messages