Fixed wf.error not being well displayed
Added htmlentities in js
Now executing wf.init event callback when initializing