Actually put the data() call inside the ready if block!