fix clicking on post ids with dynamically loaded javascript