#146: added clear layout cache button in Advanced Tab
Fixed few js bugs