added mixed effects example and cjs.tpl(not complete)