Only load javascript when import page is active