log show page, ajax in trails.js