Fixed so ready function is returned when using $(fn). Added so tire is added as an argument to ready function.