adding a document.ready inside the require
renaming the jquery objects to names that have a $ in front for clarity
resolving conflicts