better publicPath and fixed commonsChunk html