not visible div error in redraw divs has been fixed and js code has been moved to a different file into js folder