JS: Select with href