Switching from dataset to getAttibute for ie9 support