Grab and store useful info from data attrs so that we don't have to constantly query. @ascott1