JavaScript for viewing and editing an existing wishlist.