Fixing memory leak (introduced by using jQuery.data)
Fixing test case related to jQuery.data()