Fix the usage of jQuery.data

Changed according to http://api.jquery.com/data/