How can I add dynamically JS string function into `preNavigationHooks`? - Apify & Crawlee