fix issue

if html structure like <li data-name=" " id="test"></li>, just one or more blank, then $('#test').data('name') will get value 0, not ' '.
so i fixed this issue