As I said before can you just define js variables and include this stuff right above the async_metrics_loader