move chart html to pages