Replace xface.js in the template project to fix workspace problem