Begin migration to js
Add wrapper generator
Enable generation without xml declaration in each pattern