beego: improve static file index.html  simple code
fix #794
fix #814
fix #814