added reflection code in browser process