add minified version to index for server