fix jade depreted doctype issue
add json response