move ui changes on static html to backend