renamed popup2 js