added index.js to templates folder