fix isGet, isPost and jQuery path