added test js for ad placement