JsHint compliance

Missing semicolumn, indentation, multiple var declaration
Init package.json
Add node_modules/ into .gitignore
Add nodejs dependencies
Delete vendor folder
Add ent dependency
Fix partial ejs
cron dependency with node_modules
Fix strange while pattern