Switched from data attribute call to attr call (too old jQuery?)