refine the main ui HTML code
ready for Amazon AWS