remove debug code
move HTML into code instead of config
improve array-> html, object -> html, include html code from config, var fixes