adding party page and javascript