resolve pathname problem in task/jade4php.js