fix viewer.html build