use process.version for node env checking
fix bug on cancelBubble()
improve inNode checking