Added patch to remove document.ready() function.
Review my patch.