Added template master.js