allow listings to be refreshed with javascript