JS changes image only on hour change

The javascript originally changed the shirt every second, now the image
src is changed every hour when the hour changes