refactor html content of staticMain view