Updated document.ready on master