Javascript & CSS-powered spinner with an overlay option