Copy ejs context from this to __context. Just in case you lose it with JQuery.