Refactoring to LuckySpinner and LuckySpin so that the Javascript implementation is consistent as class-based.