refactor element.js
Merge branch 'sandbox' of https://github.com/NetEaseWD/NEJ.git into
sandbox

Conflicts:
	src/base/element.js