Replaced DOMReady checks with immediately-invoked function expressions that explicitly pass jQuery to the local scope