Here i added the display for the individual post using the same javascript file