Replace xface.js in template project