Update index.js

Added EJS to allow for server side templates.