Corrected incorrect behaviour if calling loadingbar() on multiple elements

Calling something like $(".loaditems").loadingbar(...) caused that the all matched elements where using the data of the first element.