break out IIFE
work domready into build
work in domready
demo index updated with latest code
domready refractor
set dimension bugfix
small build tweaks