modified web.js
set up 'tips.ejs' and path