moving jquery plugin to use data attr instead of passing settings