Added Ready function
Merge