migrate all views to html rewrite