Fix a bug where if fields is null an error occurs
Move layout logic from "jadeManager.js" to "jadetmpl.html"
auto update locales language pack
merge master