rewriteUrls bottleneck for hijax and ajax