some js to create links - not saving yet