register state helper workes
	modified:   lib/hcomp.js
	modified:   lib/template.js