[Mod] Merge the template and add the js files