createDiv() method added.

That method is generating blank div.