index was not using minified js file