preparations for HTML5 client