Slot machine javascrip game