adding of createDiv function to globs.js