Fixed missing function in gradient.html