forgotten JS code to draw curated status & link