php&js set up for comment evetn