Tidied up silly use of $.data