fixes issues with can.ejs page