Partial converting of webkit app to server-client arch.