set up structure for play window with ajax