fixed node and cookie regex to be more inclusive, more whitespace