Refactoring skins in BrowserSim

must be applied after #51