Another attempt at getting attachment JS to load later.