Extract JS helpers, enable Network domain for cookies