essential js scripts added so the refresh icon works