javascript image picker as links with controls