add JS for navigation via popup to injector.io