addding relase task to uglify and re-template index with min reference