adding node js file and template