Added EJS templating

first version of default.js