test popup content passed to js