Consolidate anchor js