unbotch index.js
fix whitespace in template