Added index.js to extensions dir and added extensions dir to tpl