extension popup form now working with iterative jQuery array