update grunt and index js fix