Minor improvements in `createDiv()`
Merge pull request #3 from kaktus621/misc

Minor improvements in `createDiv()`