Preparing HTML5 interface