How To Test Cookie Support using JavaScript