Spinning icon js and css