add js to toggle select/remove tag