jquery and manually create links works