remove .jade ext and change url parse to get pathname instead of path