Can I add ready() in the top of a jQuery plugin?
<p>I am trying to write a plugin, following the guidelines from jQuery site. </p>

<p>I am also trying to incorporate everything into it, including creating new div elements. </p>

<p>Those div's need to be created on document ready, so I am trying to figure the best options here.</p>

<p>This is what I currently have and it works fine, but it doesn't looks right for some reason, even though I cannot see anywhere that it shouldn't be done that way. </p>

<p>Is there a better way to do it?</p>

<pre><code>$(document).ready(function() {
    var message_bar = "&lt;div id="something"&gt;&lt;/div&gt;";
    $('body').prepend(message_bar);
});

(function( $ ){
   $.fn.displayMessage = function(options) {
   ...
</code></pre>
