Move defaultTemplate function from mkws-core.js to mkws-team.js (where it's used)