fix bug about index.html in firefox